﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class ModelConfigTransData
    {
        private ModelConfig _modelConfig = null;

        public ModelConfig ModelConfig
        {
            get
            {
                if (_modelConfig == null)
                    return new ModelConfig();
                return _modelConfig;
            }
            set
            {
                _modelConfig = value;
            }
        }

        private IList<ModelColumnConfig> _modelColumnConfigList = null;

        public IList<ModelColumnConfig> ModelColumnConfigList
        {
            get
            {
                if (_modelConfig == null)
                    return new List<ModelColumnConfig>();
                return _modelColumnConfigList;
            }
            set
            {
                _modelColumnConfigList = value;
            }
        }

        private IList<ModelColumnSourceConfig> _modelColumnSourceConfigList = null;

        public IList<ModelColumnSourceConfig> ModelColumnSourceConfigList
        {
            get
            {
                if (_modelConfig == null)
                    return new List<ModelColumnSourceConfig>();
                return _modelColumnSourceConfigList;
            }
            set
            {
                _modelColumnSourceConfigList = value;
            }
        }
    }
}
